package com.sqoop.core.request;

import com.sqoop.core.msg.Msg;
import com.sqoop.core.msg.MsgDestination;

import java.io.Serializable;

/**
 * Created by zw on 2017/11/6.
 */
public class Request extends Msg implements Serializable{

    private MsgDestination sender;

    private MsgDestination receiver;


    public Request(){
        setDstTaskName("receiver");
    }

    public MsgDestination getSender() {
        return sender;
    }

    public void setSender(MsgDestination sender) {
        this.sender = sender;
    }

    public MsgDestination getReceiver() {
        return receiver;
    }

    public void setReceiver(MsgDestination receiver) {
        this.receiver = receiver;
    }

}